package cn.zeng.dto;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

import static cn.zeng.dto.Color.BLACK;
import static cn.zeng.dto.Display.NONE;


/**
 * 危险因素解读
 *
 * @author zyb
 */
@Data
public class Dangerous {
    private Double bmi = 12.;
    private String bmiColor = BLACK.getName();
    private String bmiReference = "222";
    private String bmiDiabetes = NONE.getName();
    private String bmiCardiovascular = NONE.getName();
    private String bmiMetabolic = NONE.getName();

    /**
     * 腰围
     */
    private Integer waistCircumference = 12;
    private String waistCircumferenceColor = BLACK.getName();
    private String waistCircumferenceReference = "22211";
    private String waistCircumferenceDiabetes = NONE.getName();
    private String waistCircumferenceCardiovascular = NONE.getName();
    private String waistCircumferenceMetabolic = NONE.getName();

    /**
     * 收缩压
     */
    private Integer systolicBloodPressure = 12;

    /**
     * 舒张压
     */
    private Integer diastolicBloodPressure = 123;
    private String bloodPressureColor = BLACK.getName();
    private String bloodPressureReference = "121";
    private String bloodPressureDiabetes = NONE.getName();
    private String bloodPressureCardiovascular = NONE.getName();
    private String bloodPressureMetabolic = NONE.getName();
    /**
     * 总胆固醇
     */
    private Double totalCholesterol = 112.;
    private String totalCholesterolColor = BLACK.getName();
    private String totalCholesterolReference = "112";
    private String totalCholesterolDiabetes = NONE.getName();
    private String totalCholesterolCardiovascular = NONE.getName();
    private String totalCholesterolMetabolic = NONE.getName();

    /**
     * 甘油三酯
     */
    private Double triglycerides = 33.;
    private String triglyceridesColor = BLACK.getName();
    private String triglyceridesReference = "33";
    private String triglyceridesDiabetes = NONE.getName();
    private String triglyceridesCardiovascular = NONE.getName();
    private String triglyceridesMetabolic = NONE.getName();

    /**
     * 高密度脂蛋白固醇
     */
    private Double highDensityLipoprotein = 22.;
    private String highDensityLipoproteinColor = BLACK.getName();
    private String highDensityLipoproteinReference = "212";
    private String highDensityLipoproteinDiabetes = NONE.getName();
    private String highDensityLipoproteinCardiovascular = NONE.getName();
    private String highDensityLipoproteinMetabolic = NONE.getName();
    /**
     * 低密度脂蛋白固醇
     */
    private Double lowDensityLipoprotein = 12.1;
    private String lowDensityLipoproteinColor = BLACK.getName();
    private String lowDensityLipoproteinReference = "22211";
    private String lowDensityLipoproteinDiabetes = NONE.getName();
    private String lowDensityLipoproteinCardiovascular = NONE.getName();
    private String lowDensityLipoproteinMetabolic = NONE.getName();
    /**
     * 蔬菜
     */
    private Integer vegetable = 12;
    private String vegetableColor = BLACK.getName();
    private String vegetableReference = "12";
    private String vegetableDiabetes = NONE.getName();
    private String vegetableCardiovascular = NONE.getName();
    private String vegetableMetabolic = NONE.getName();
    /**
     * 水果
     */
    private Integer fruit = 33;
    private String fruitColor = BLACK.getName();
    private String fruitReference = "221";
    private String fruitDiabetes = NONE.getName();
    private String fruitCardiovascular = NONE.getName();
    private String fruitMetabolic = NONE.getName();

    /**
     * 活动
     */
    private String activity = "nihao";
    private String activityColor = BLACK.getName();
    private String activityDiabetes = NONE.getName();
    private String activityCardiovascular = NONE.getName();
    private String activityMetabolic = NONE.getName();
    /**
     * 吸烟
     */
    private String smoking = "吸烟";
    private String smokingColor = BLACK.getName();
    private String smokingDiabetes = NONE.getName();
    private String smokingCardiovascular = NONE.getName();
    private String smokingMetabolic = NONE.getName();

    private String keep = "3333\t11111\t22222\t3333321122";
    /**
     * 改善
     */
    private String improve = "111\t11111\t22222\t3333321122";


    public Map<String, Object> toMap() {
        Map<String, Object> map = new HashMap<>(66);
        map.put("Dangerous_bmi", bmi);
        map.put("Dangerous_bmiColor", bmiColor);
        map.put("Dangerous_bmiReference", bmiReference);
        map.put("Dangerous_bmiDiabetes", bmiDiabetes);
        map.put("Dangerous_bmiCardiovascular", bmiCardiovascular);
        map.put("Dangerous_bmiMetabolic", bmiMetabolic);
        map.put("Dangerous_waistCircumference", waistCircumference);
        map.put("Dangerous_waistCircumferenceColor", waistCircumferenceColor);
        map.put("Dangerous_waistCircumferenceReference", waistCircumferenceReference);
        map.put("Dangerous_waistCircumferenceDiabetes", waistCircumferenceDiabetes);
        map.put("Dangerous_waistCircumferenceCardiovascular", waistCircumferenceCardiovascular);
        map.put("Dangerous_waistCircumferenceMetabolic", waistCircumferenceMetabolic);
        map.put("Dangerous_systolicBloodPressure", systolicBloodPressure);
        map.put("Dangerous_diastolicBloodPressure", diastolicBloodPressure);
        map.put("Dangerous_bloodPressureColor", bloodPressureColor);
        map.put("Dangerous_bloodPressureReference", bloodPressureReference);
        map.put("Dangerous_bloodPressureDiabetes", bloodPressureDiabetes);
        map.put("Dangerous_bloodPressureCardiovascular", bloodPressureCardiovascular);
        map.put("Dangerous_bloodPressureMetabolic", bloodPressureMetabolic);
        map.put("Dangerous_totalCholesterol", totalCholesterol);
        map.put("Dangerous_totalCholesterolColor", totalCholesterolColor);
        map.put("Dangerous_totalCholesterolReference", totalCholesterolReference);
        map.put("Dangerous_totalCholesterolDiabetes", totalCholesterolDiabetes);
        map.put("Dangerous_totalCholesterolCardiovascular", totalCholesterolCardiovascular);
        map.put("Dangerous_totalCholesterolMetabolic", totalCholesterolMetabolic);
        map.put("Dangerous_triglycerides", triglycerides);
        map.put("Dangerous_triglyceridesColor", triglyceridesColor);
        map.put("Dangerous_triglyceridesReference", triglyceridesReference);
        map.put("Dangerous_triglyceridesDiabetes", triglyceridesDiabetes);
        map.put("Dangerous_triglyceridesCardiovascular", triglyceridesCardiovascular);
        map.put("Dangerous_triglyceridesMetabolic", triglyceridesMetabolic);
        map.put("Dangerous_highDensityLipoprotein", highDensityLipoprotein);
        map.put("Dangerous_highDensityLipoproteinColor", highDensityLipoproteinColor);
        map.put("Dangerous_highDensityLipoproteinReference", highDensityLipoproteinReference);
        map.put("Dangerous_highDensityLipoproteinDiabetes", highDensityLipoproteinDiabetes);
        map.put("Dangerous_highDensityLipoproteinCardiovascular", highDensityLipoproteinCardiovascular);
        map.put("Dangerous_highDensityLipoproteinMetabolic", highDensityLipoproteinMetabolic);
        map.put("Dangerous_lowDensityLipoprotein", lowDensityLipoprotein);
        map.put("Dangerous_lowDensityLipoproteinColor", lowDensityLipoproteinColor);
        map.put("Dangerous_lowDensityLipoproteinReference", lowDensityLipoproteinReference);
        map.put("Dangerous_lowDensityLipoproteinDiabetes", lowDensityLipoproteinDiabetes);
        map.put("Dangerous_lowDensityLipoproteinCardiovascular", lowDensityLipoproteinCardiovascular);
        map.put("Dangerous_lowDensityLipoproteinMetabolic", lowDensityLipoproteinMetabolic);
        map.put("Dangerous_vegetable", vegetable);
        map.put("Dangerous_vegetableColor", vegetableColor);
        map.put("Dangerous_vegetableReference", vegetableReference);
        map.put("Dangerous_vegetableDiabetes", vegetableDiabetes);
        map.put("Dangerous_vegetableCardiovascular", vegetableCardiovascular);
        map.put("Dangerous_vegetableMetabolic", vegetableMetabolic);
        map.put("Dangerous_fruit", fruit);
        map.put("Dangerous_fruitColor", fruitColor);
        map.put("Dangerous_fruitReference", fruitReference);
        map.put("Dangerous_fruitDiabetes", fruitDiabetes);
        map.put("Dangerous_fruitCardiovascular", fruitCardiovascular);
        map.put("Dangerous_fruitMetabolic", fruitMetabolic);
        map.put("Dangerous_activity", activity);
        map.put("Dangerous_activityColor", activityColor);
        map.put("Dangerous_activityDiabetes", activityDiabetes);
        map.put("Dangerous_activityCardiovascular", activityCardiovascular);
        map.put("Dangerous_activityMetabolic", activityMetabolic);
        map.put("Dangerous_smoking", smoking);
        map.put("Dangerous_smokingColor", smokingColor);
        map.put("Dangerous_smokingDiabetes", smokingDiabetes);
        map.put("Dangerous_smokingCardiovascular", smokingCardiovascular);
        map.put("Dangerous_smokingMetabolic", smokingMetabolic);
        map.put("Dangerous_keep", keep);
        map.put("Dangerous_improve", improve);
        return map;
    }


}
